package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 换电柜表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dts_battery_history")
public class DtsBatteryHistory {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;


    @TableField(value = "battery_id")
    private Long batteryId;//电池isd


    @TableField(value = "history_state")
    private Long historyState;//操作状态

    @TableField(value = "created_battery")
    private Date createdBattery;
    @TableField(value = "updated")
    private Date updated;
    @TableField(value = "cell_name")
    private String cellName;//

    @TableField(value = "cell_code")
    private String cellCode;//

    @TableField(value = "status")
    private Byte status;//

    @TableField(exist = false)
    private String value;
    @TableField(exist = false)
    private String batteryCode;
    @TableField(exist = false)
    private  String batteryCodeOld;







}